package com.cx.vo;

/**
 * @Description
 * @Author 11597
 * @Date 2020/5/12 14:20
 */
public class CartsInfo {
    //Cart表Id
    private Integer id;
    //用户id
    private Integer userId;
    //商品id
    private Integer goodId;
    //商品名称
    private String goodName;
    //商品图
    private String goodImages;
    //商品价格
    private Double goodPrice;
    //商品库存
    private Integer goodStock;
    //商品购买数量
    private  Integer goodNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodImages() {
        return goodImages;
    }

    public void setGoodImages(String goodImages) {
        this.goodImages = goodImages;
    }

    public Double getGoodPrice() {
        return goodPrice;
    }

    public void setGoodPrice(Double goodPrice) {
        this.goodPrice = goodPrice;
    }

    public Integer getGoodStock() {
        return goodStock;
    }

    public void setGoodStock(Integer goodStock) {
        this.goodStock = goodStock;
    }

    public Integer getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(Integer goodNum) {
        this.goodNum = goodNum;
    }

    @Override
    public String toString() {
        return "CartsInfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", goodId=" + goodId +
                ", goodName='" + goodName + '\'' +
                ", goodImages='" + goodImages + '\'' +
                ", goodPrice=" + goodPrice +
                ", goodStock=" + goodStock +
                ", goodNum=" + goodNum +
                '}';
    }
}
